﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyPhongMach
{
    public static class ThongTinDangNhap
    {
        private static string _MaNV;
        private static string _MaKhoa;
        private static string _TenDangNhap;
        private static string _MatKhau;
        private static string _Ten;

       
        // Properties
        public static string Ten
        {
            get { return ThongTinDangNhap._Ten; }
            set { ThongTinDangNhap._Ten = value; }
        }
        public static string TenDangNhap
        {
            get { return ThongTinDangNhap._TenDangNhap; }
            set { ThongTinDangNhap._TenDangNhap = value; }
        }
        public static string MatKhau
        {
            get { return ThongTinDangNhap._MatKhau; }
            set { ThongTinDangNhap._MatKhau = value; }
        }
        public static string MaNV
        {
            get { return ThongTinDangNhap._MaNV; }
            set { ThongTinDangNhap._MaNV = value; }
        }

        public static string MaKhoa
        {
            get { return ThongTinDangNhap._MaKhoa; }
            set { ThongTinDangNhap._MaKhoa = value; }
        }

        public static void DangXuat()
        {
            MaNV = string.Empty;
            MatKhau = string.Empty;
            MaKhoa = string.Empty;
            TenDangNhap = string.Empty;
        }
    }
}
